export default defineAppConfig({
  pages: [
    'pages/home/home',
    'pages/kind/kind',
    'pages/cart/cart',
    'pages/user/user',
    'pages/detail/detail',
    'pages/index/index'
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'black',
  },
  tabBar: {
    borderStyle: "black",
    color: "#999",
    position: "bottom",
    selectedColor: "#f66",
    backgroundColor: "#fff",
    list: [
      {
        pagePath: "pages/home/home",
        iconPath: "./static/tabBar/home.png",
        selectedIconPath: "./static/tabBar/home_active.png",
        text: "首页"
      },
      {
        pagePath: "pages/kind/kind",
        iconPath: "./static/tabBar/kind.png",
        selectedIconPath: "./static/tabBar/kind_active.png",
        text: "分类"
      },
      {
        pagePath: "pages/cart/cart",
        iconPath: "./static/tabBar/cart.png",
        selectedIconPath: "./static/tabBar/cart_active.png",
        text: "购物车"
      },
      {
        pagePath: "pages/user/user",
        iconPath: "./static/tabBar/user.png",
        selectedIconPath: "./static/tabBar/user_active.png",
        text: "我的"
      }
    ]
  },
})
